import request from '@/utils/request'

const api = {}

api.login = data => {
  return request({
    url: '/base/login',
    method: 'post',
    data:data
  })
}

api.logout = () => {
	debugger
  return request({
    url: '/login/logout',
    method: 'post'
  })
}

export default api
